package com.lesso.zgs.sunflower.domain.repository;

import com.baomidou.mybatisplus.plugins.Page;
import com.lesso.zgs.sunflower.model.Device;
import com.lesso.zgs.sunflower.pojo.dto.DeviceQueryDTO;
import com.lesso.zgs.sunflower.pojo.vo.DeviceVO;

/**
 * DeviceRepository
 *
 * @author zgs
 * @since 2025-07-03
 */
public interface DeviceRepository {

    Integer save(Device device);

    Device getById(Long id);

    Integer update(Device device);

    Integer delete(Long id);

    Page<DeviceVO> getPageList(DeviceQueryDTO dto);
} 